package com.tarena.lbs.business.pojo.entity;

import java.io.Serializable;
import java.util.List;

public class StoreSearchMessage implements Serializable {
    private static final long serialVersionUID = 1L;
    
    private Long userId;
    private List<Long> storeIds;
    private Double latitude;
    private Double longitude;
    private Double searchDistance;
    
    public StoreSearchMessage() {}
    
    public StoreSearchMessage(Long userId, List<Long> storeIds, Double latitude, Double longitude, Double searchDistance) {
        this.userId = userId;
        this.storeIds = storeIds;
        this.latitude = latitude;
        this.longitude = longitude;
        this.searchDistance = searchDistance;
    }
    
    // getter和setter方法
    public Long getUserId() {
        return userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    public List<Long> getStoreIds() {
        return storeIds;
    }
    
    public void setStoreIds(List<Long> storeIds) {
        this.storeIds = storeIds;
    }
    
    public Double getLatitude() {
        return latitude;
    }
    
    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }
    
    public Double getLongitude() {
        return longitude;
    }
    
    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }
    
    public Double getSearchDistance() {
        return searchDistance;
    }
    
    public void setSearchDistance(Double searchDistance) {
        this.searchDistance = searchDistance;
    }
    
    @Override
    public String toString() {
        return "StoreSearchMessage{" +
                "userId=" + userId +
                ", storeIds=" + storeIds +
                ", latitude=" + latitude +
                ", longitude=" + longitude +
                ", searchDistance=" + searchDistance +
                '}';
    }
}